treeview: Move the dragged header in the headers window
authorStefano Facchini <stefano.facchini@gmail.com>
Thu, 27 Sep 2012 16:08:44 +0000 (18:08 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 22 Oct 2012 23:04:12 +0000 (19:04 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=684980

gtk/gtktreeview.c

index 182374c47fa67b587b2176a6b16f3c685114feb7..b070c2177a0c262ea1c1dd47b52b2ac65274c155 100644 (file)
@@ -9812,7 +9812,7 @@ _gtk_tree_view_column_start_drag (GtkTreeView       *tree_view,
   attributes.event_mask = GDK_VISIBILITY_NOTIFY_MASK | GDK_EXPOSURE_MASK | GDK_POINTER_MOTION_MASK;
   attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL;
 
-  tree_view->priv->drag_window = gdk_window_new (tree_view->priv->bin_window,
+  tree_view->priv->drag_window = gdk_window_new (tree_view->priv->header_window,
                                                  &attributes,
                                                  attributes_mask);
   gdk_window_set_user_data (tree_view->priv->drag_window, GTK_WIDGET (tree_view));